Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.core.event.lifecycle.listener--listener

This contribution is part of XML component org.nuxeo.ecm.core.event.lifecycle.listener inside nuxeo-core-9.10.jar /OSGI-INF/lifecycle-listener-contrib.xml

Documentation

Listener for life cycle change events.

If event occurs on a folder, it will recurse on children to perform the same transition if possible.

If the transition event is about marking documents as "deleted", and a child cannot perform the transition, it will be removed.

Undelete transitions are not recursed on the children, however a special documentUndeleted event has the same role and is processed by this listener.

Extension Point

Extension point listener of component EventServiceComponent.

Contributed Items

  • <listener async="true" class="org.nuxeo.ecm.core.lifecycle.event.BulkLifeCycleChangeListener" name="bulkLifeCycleChangeListener" postCommit="true">
          <event>lifecycle_transition_event</event>
          <event>documentUndeleted</event>
          <event>documentCreatedByCopy</event>
        </listener>

XML Source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">

    <documentation>
      Listener for life cycle change events.

      If event occurs on a folder, it will recurse on children to perform the
      same transition if possible.

      If the transition event is about marking documents as "deleted", and a
      child cannot perform the transition, it will be removed.

      Undelete transitions are not recursed on the children, however a special
      documentUndeleted event has the same role and is processed by this listener.
    </documentation>
    <listener async="true" class="org.nuxeo.ecm.core.lifecycle.event.BulkLifeCycleChangeListener" name="bulkLifeCycleChangeListener" postCommit="true">
      <event>lifecycle_transition_event</event>
      <event>documentUndeleted</event>
      <event>documentCreatedByCopy</event>
    </listener>

  </extension>